﻿<Window x:Class="TypeCounter.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Type Counter" Height="127" Width="289" Icon="Hand.ico">
    <Grid>
        <Grid>
            <Grid.Resources>
                <Style TargetType="TextBlock">
                    <Setter Property="Margin" Value="5"/>
                    <Setter Property="VerticalAlignment" Value="Center"/>
                    <Setter Property="FontSize" Value="14"/>
                </Style>
            </Grid.Resources>
            <Grid.ColumnDefinitions>
                <ColumnDefinition/>
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <TextBlock Foreground="DarkCyan">Keyboard Press:</TextBlock>
            <TextBlock Grid.Column="1" Text="{Binding InputCounter.KeyboardPressCount, Source={x:Static Application.Current}}"></TextBlock>

            <TextBlock Grid.Row="1" Foreground="DarkCyan">Mouse Click:</TextBlock>
            <TextBlock Grid.Row="1" Grid.Column="1" Text="{Binding InputCounter.MouseClickCount, Source={x:Static Application.Current}}"></TextBlock>
        </Grid>        
    </Grid>
</Window>
